A Framework for Defining Logical Frameworks

نویسندگان

  • Furio Honsell
  • Marina Lenisa
  • Luigi Liquori
چکیده

In this paper, we introduce a General Logical Framework, called GLF, for defining Logical Frameworks, based on dependent types, in the style of the well known Edinburgh Logical Framework LF. The framework GLF features a generalized form of lambda abstraction where β-reductions fire provided the argument satisfies a logical predicate and may produce an n-ary substitution. The type system keeps track of when reductions have yet to fire. The framework GLF subsumes, by simple instantiation, LF as well as a large class of generalized constrained-based lambda calculi, ranging from well known restricted lambda calculi, such as Plotkin’s call-by-value lambda calculus, to lambda calculi with patterns. But it suggests also a wide spectrum of completely new calculi which have intriguing potential as Logical Frameworks. We investigate the metatheoretical properties of the calculus underpinning GLF and illustrate its expressive power. In particular, we focus on two interesting instantiations of GLF. The first is the Pattern Logical Framework (PLF), where applications fire via patternmatching in the style of Cirstea, Kirchner, and Liquori. The second is the Closed Logical Framework (CLF) which features, besides standard β-reduction, also a reduction which fires only if the argument is a closed term. For both these instantiations of GLF we discuss standard metaproperties, such as subject reduction, confluence and strong normalization. The GLF framework is particularly suitable, as a metalanguage, for encoding rewriting logics and logical systems, where rules require proof terms to have special syntactic constraints, e.g. logics with rules of proof, in addition to rules of derivations, such as, e.g., modal logics, and call-by-value lambda calculus. Category D.3.1: Formal Definitions and Theory: Syntax, Semantics. Category D.3.2: Language Classifications: Applicative (functional) languages, Constraint and logic languages ∗ University of Udine, Italy, e-mail: [lenisa,honsell]@dimi.uniud.it † Research partially supported by the EU Project FP6-IST-510996 TYPES, and by the French CNRS grant ACI Modulogic. ‡ Inria Sophia Antipolis, France, e-mail: [email protected] 2 Honsell & Lenisa & Liquori Category F.4.1: Mathematical Logic: Lambda calculus and related systems, Logic and constraint programming, Mechanical theorem proving. Key-words: Edinburgh’s Logical Framework, Lambda calculus, Patterns, Pattern matching, Dependent-type systems, Curry-Howard, Logics.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A modular hierarchy of logical frameworks

We present a method for defining logical frameworks as a collection of features which are defined and behave independently of one another. Each feature is a set of grammar clauses and rules of deduction such that the result of adding the feature to a framework is a conservative extension of the framework itself. We show how several existing logical frameworks can be so built, and how several mu...

متن کامل

CLF: A Dependent Logical Framework for Concurrent Computations∗

We present CLF, a dependently typed logical framework with several novel features supporting concurrent computations, in particular monads and synchronous linear connectives. We illustrate its representation methodology of concurrent computations as monadic expressions via the encoding of an asynchronous π-calculus with correspondence assertions, including its dynamic semantics, safety criterio...

متن کامل

A Framework for Defining Logical Frameworks ? dedicated to Gordon D . Plotkin , on the occasion of his 60 th birthday

In this paper, we introduce aGeneral Logical Framework, calledGLF, for defining Logical Frameworks, based on dependent types, in the style of the well known Edinburgh Logical Framework LF. The framework GLF features a generalized form of lambda abstraction where β-reductions fire provided the argument satisfies a logical predicate and may produce an n-ary substitution. The type system keeps tra...

متن کامل

Modules as Classes in Logical Frameworks with Explicit Substitution

Using machine assisted proof systems to reason about mathematics and various aspects of programs and computer systems has gained a lot of attention by mathematicians and theoretical computer scientists during the last fteen years. The work going on under the name Logical Frameworks HuP91] is implementations of general frameworks in which the user can deene a logic or formal system and by doing ...

متن کامل

A logical framework combining model and proof theory

Mathematical logic and computer science drive the design of a growing number of logics and related formalisms such as set theories and type theories. In response to this population explosion, logical frameworks have been developed as formal meta-languages in which to represent, structure, relate, and reason about logics. Research on logical frameworks has diverged into separate communities with...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 172  شماره 

صفحات  -

تاریخ انتشار 2007